<!DOCTYPE html>
<%@page language="java" pageEncoding="utf-8" contentType="text/html; charset=UTF-8"%>
<%
	String ctx = request.getContextPath();
%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>登录页</title>
    <link rel="stylesheet" type="text/css" href="css/basic.css">
    <link rel="stylesheet" type="text/css" href="css/ui.css">
    <link rel="stylesheet" type="text/css" href="css/common.css">
    <script src="js/yep.min.js" type="text/javascript" data-config="YBA.Config.js"></script>
    <!-- 设置JS全局变量  ctx -->
	<script type="text/javascript">
		var ctx = "<%=request.getContextPath()%>";
	</script>
    <style>
        body{background:#1A558E;}
    </style>
</head>
<body>
    <div class="login-layout">
        <div class="login-title"></div>
        <div class="login-box">
            <div class="logo"><img src="images/logo.png" height="68" width="187" alt="logo"></div>
            <div class="login-form">
                <form id="j-form" method="post">
                    <div class="input-group clearfix">
                        <label class="fl">用户名：</label>
                        <span class="ui-placeHolder j-placeHolder fl">
                            <label>
                                <input type="text" data-name="username" name="username" class="input j-formcheck" />
                                <span class="holder">请输入用户名</span>
                            </label>
                        </span>
                    </div>
                    <div class="input-group clearfix">
                        <label class="fl">密&emsp;码：</label>
                        <input type="text" style="display:none">
						<input type="password" style="display:none">
                        <span class="ui-placeHolder j-placeHolder fl">
                            <label>
                                <input type="password" data-name="password" name="password" class="input j-formcheck" />
                                <span class="holder">请输入密码</span>
                            </label>
                        </span>
                    </div>
                    <div class="input-group clearfix" id="j-codeGroup" style="display:none;">
                        <label class="fl">验证码：</label>
                        <span class="ui-placeHolder j-placeHolder fl">
                            <label>
                                <input class="code inp-txt j-formcheck"  type="text" name="code" value="">
                                <span class="holder">验证码</span>
                            </label>
                        </span>
                        <span class="code-img fl"><img src="images/code.jpg" id="j-codeImg" height="28" width="75" alt="验证码" align="absmiddle"></span>
                        <a class="code-reset fl" href="javascript:;" id="j-getCodeImg">看不清，换一张</a>
                    </div>
                    <div class="btn-group">
                        <button class="login-btn btn" type="submit" id="j-submit">登录</button>
                        <button class="reset-btn btn" type="button" id="j-reset">重置</button>
                    </div>
                    <input type="hidden" value="index.jsp" id="j-jumpurl" />
                </form>
            </div>
            <a class="forget-link fr" href="/ebeim-api/forgetUser.jsp">忘记密码？</a>
        </div>
        <div class="btm-shaow"></div>
        <p class="blank">ICP备案编号:闽ICP备15003211号-5</p>
    </div>
    <script type="text/ysmart" data-name="activationTpl">
        <div class="ui-dialog-form">
			<div class="explain">
				<p>尊敬的客户您好，系统检测到您是第一次登陆系统，为了您的账户安全，请先重置密码！</p>
			</div>
			<form>
                <div class="form-group">
                    <label><em>*</em>旧密码：</label>
                    <input class="required" type="password" name="oldPassword" value="">
                    <span class="message msg-tip"><em></em><i>请输入旧密码</i></span>
                </div>
                <div class="form-group">
                    <label><em>*</em>新密码：</label>
                    <input class="required" type="password" name="newPassword" value="">
                    <span class="message msg-tip"><em></em><i>请输入新密码</i></span>
                </div>
                <div class="form-group">
                    <label><em>*</em>再次输入新密码：</label>
                    <input class="required" type="password" name="passwordSecond" value="">
                    <span class="message msg-tip"><em></em><i>请再次输入新密码</i></span>
                </div>
                <div class="form-group">
                    <label>手机号码：</label>
                    <span id="j-phone"></span>
                </div>				
				<div class="form-group">
                    <label><em>*</em>验证码：</label>
                    <input class="required" type="text" name="code" value="" style="width:95px;"><input class="codeBtn j-getCode" type="button" value="发送验证码">
                    <span class="message msg-tip"><em></em><i>请输入验证码</i></span>
                </div>
            </form>
        </div>
    </script>
    <script>
        yepjs.use({
            name: ["YBA.Logic.login"],
            callback: function () {
                YBA.Logic.login();
            }
        });
    </script>
</body>
</html>
